import {FormConfig} from "vj-tool/vj-tool/types";
import {genFormOptions} from "vijay-util";
import {CITY_DATA} from "@/config/properties";

export const PuzzleRecordSH: FormConfig = [
    {
        label: "类型",
        name: "xxa",
        type: "vjSelect",
        cmp: "radio",
        config: genFormOptions(["政治类", "色情类", "违禁品", "游戏相关屏蔽", "民谣类"])
    }
];

export const PictureSH: FormConfig = [
    {
        label: "类型",
        name: "type",
        type: "vjSelect",
        config: genFormOptions([])
    }
];
export const UserSH: FormConfig = [
    {
        label: "地址",
        name: "provinceCode",
        names: ["provinceCode", "cityCode", "areaCode"],
        type: "vjAddr",
        config: {options: CITY_DATA}
    }, {
        label: "状态",
        name: "status",
        type: "vjSelect",
        config: genFormOptions(["正常", "冻结"], 1)
    },
];export const CompanySH: FormConfig = [
 {
        label: "审核",
        name: "status",
        type: "vjSelect",
        config: genFormOptions(["未审核", "审核通过", "不通过"],1)
    },
];
export const MemberSH: FormConfig = [
    {
        label: "创业阶段",
        name: "xxa",
        type: "vjSelect",
        config: genFormOptions(["政治类", "色情类", "违禁品", "游戏相关屏蔽", "民谣类"])
    }, {
        label: "状态",
        name: "xxa",
        type: "vjSelect",
        config: genFormOptions(["政治类", "色情类", "违禁品", "游戏相关屏蔽", "民谣类"])
    }
];
export const FeqSH: FormConfig = [
    {
        label: "状态",
        name: "status",
        type: "vjSelect",
        config: genFormOptions(["同意", "拒绝"], 1)
    }
];
export const MerchantSH: FormConfig = [
    {
        label: "状态",
        name: "status",
        type: "vjSelect",
        config: genFormOptions(["上架", "下架"], 1)
    }, {
        label: "地址",
        name: "province",
        names: ["province", "city", "area"],
        type: "vjAddr",
        config: {options: CITY_DATA}
    },
];
export const TalentSH: FormConfig = [
    {
        label: "岗位种类",
        name: "typeid",
        type: "vjSelect",
        config: genFormOptions([])
    }, {
        label: "状态",
        name: "status",
        type: "vjSelect",
        config: genFormOptions(["上架", "下架"], 1)
    },
];
export const CapitalSH: FormConfig = [
    {
        label: "状态",
        name: "status",
        type: "vjSelect",
        config: genFormOptions(["已上架", "已下架"], 1)
    }
];
export const PolicySH: FormConfig = [
    {
        label: "状态",
        name: "status",
        type: "vjSelect",
        config: genFormOptions(["已上架", "已下架"], 1)
    }, {
        label: "地址",
        name: "city",
        names: ["province", "city", "area"],
        type: "vjAddr",
        config: {options: CITY_DATA}
    },
];
export const ActivityApplySH: FormConfig = [
    {
        label: "姓名",
        name: "name",
        type: "vjInput",
    }, {
        label: "手机号码",
        name: "phone",
        type: "vjInput",
    }, {
        label: "状态",
        name: "signstatus",
        type: "vjSelect",
        config: genFormOptions(["待审核", "成功", "失败"])
    },
];
export const ActivityApplySubSH: FormConfig = [
    {
        label: "选择时间",
        name: "xxa",
        names: ["xxa", "qq"],
        type: "vjDate",
        config: {type: "daterange"}
    }
];
